package cn.lefull.jpa.entity;

import cn.lefull.jpa.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;

/**
* @description: 公寓表
* @author: qijiang email:jiang1211@foxmail.com 
* @date: 2018-12-05 16:49:14 
*/
@Table(name = "apartment")
@Entity
@Data
public class Apartment extends  BaseEntity implements Serializable  {

	private static final long serialVersionUID = 1L;
	
	/**唯一不重复id**/
	@Id
	//@GeneratedValue(strategy= GenerationType.AUTO)
	@Column(name = "apartment_id")
	@ApiModelProperty(value = "唯一不重复id",notes ="唯一不重复id" )
	private String  apartmentId ;
	
	/**公司ID**/
	@Column(name = "company_id")
	@ApiModelProperty(value = "公司ID",notes ="公司ID" )
	private Integer  companyId ;
	
	/**是否分散式**/
	@Column(name = "is_dispersion")
	@ApiModelProperty(value = "是否分散式",notes ="是否分散式" )
	private Integer  isDispersion ;
	
	/**公寓名**/
	@Column(name = "apartment_name")
	@ApiModelProperty(value = "公寓名",notes ="公寓名" )
	private String  apartmentName ;
	
	/**公寓编号**/
	@Column(name = "apartment_number")
	@ApiModelProperty(value = "公寓编号",notes ="公寓编号" )
	private String  apartmentNumber ;
	
	/**省份ID**/
	@Column(name = "province_id")
	@ApiModelProperty(value = "省份ID",notes ="省份ID" )
	private Integer  provinceId ;
	
	/**城市ID**/
	@Column(name = "city_id")
	@ApiModelProperty(value = "城市ID",notes ="城市ID" )
	private Integer  cityId ;
	
	/**区域ID**/
	@Column(name = "area_id")
	@ApiModelProperty(value = "区域ID",notes ="区域ID" )
	private Integer  areaId ;
	
	/**商圈ID**/
	@Column(name = "zone_id")
	@ApiModelProperty(value = "商圈ID",notes ="商圈ID" )
	private Integer  zoneId ;
	
	/**员工分组表ID**/
	@Column(name = "employee_group_id")
	@ApiModelProperty(value = "员工分组表ID",notes ="员工分组表ID" )
	private Integer  employeeGroupId ;
	
	/**公寓地址**/
	@Column(name = "address")
	@ApiModelProperty(value = "公寓地址",notes ="公寓地址" )
	private String  address ;
	
	/**经度**/
	@Column(name = "longitude")
	@ApiModelProperty(value = "经度",notes ="经度" )
	private BigDecimal  longitude ;
	
	/**纬度**/
	@Column(name = "latitude")
	@ApiModelProperty(value = "纬度",notes ="纬度" )
	private BigDecimal  latitude ;
	
	/**是否有智能门锁**/
	@Column(name = "intelligent_lock")
	@ApiModelProperty(value = "是否有智能门锁",notes ="是否有智能门锁" )
	private Integer  intelligentLock ;
	
	/**操作人**/
	@Column(name = "operator_employee_id")
	@ApiModelProperty(value = "操作人",notes ="操作人" )
	private Integer  operatorEmployeeId ;
}
